import { Router } from 'express'
import { ImageController } from '../controllers/image'

const router = Router()
const imageController = new ImageController()

router.get('/', imageController.getImages)
router.post('/', imageController.saveImage)
router.post('/:id/share', imageController.shareImage)

export default router 